package com.example.mapper;

import com.example.entity.yifei.Coptb;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author LiangPandeng
 * @since 2024-04-30
 */
public interface CoptbMapper extends BaseMapper<Coptb> {
    /**
     * 获取核价单中的报价
     * @param customId  客户ID
     * @param commodity 商品ID
     * @param nowDate   当前日期
     * @return
     */
    Double getPriceByCustomId(@Param("customId") String customId,
                              @Param("commodity") String commodity,
                              @Param("nowDate")String nowDate);
}
